/**
 * @author shaosong
 * @description
 */
import { PageContainer } from '@ant-design/pro-components';
import { useIntl } from '@umijs/max';
import React from 'react';

export class BlogManagerProps {}

const BlogManager: React.FC<BlogManagerProps> = (props) => {
  const intl = useIntl();
  return React.useMemo(
    () => (
      <PageContainer
        content={intl.formatMessage({
          id: 'pages.content.blog',
          defaultMessage: 'This page can only be viewed by admin',
        })}
      >
        <div>内容管理</div>
      </PageContainer>
    ),
    [],
  );
};

BlogManager.defaultProps = new BlogManagerProps();
export default BlogManager;
